// 表单效验
const mobileRuls = [
  {
    required: true,
    message: '请输入手机号'
  },
  { pattern: /^1[3-9]\d{9}$/, message: '手机号格式不正确' }
]
const passwordRules = [
  {
    required: true,
    message: '请输入密码'
  },
  {
    pattern: /^\w{8,24}$/,
    message: '密码需要8-24字符'
  }
]

export { mobileRuls, passwordRules }
